package alijk.dataView.services;

import java.util.HashMap;
import java.util.Map;

public class CCMTEST {
	public static void main(String[] args) throws Exception {
		System.out.println(startQuartz());
	}
	public static String startQuartz() throws Exception{
		String taskName = String.valueOf(System.currentTimeMillis());
		Map<String, String> map = new HashMap<String, String>();
		map.put("sql", "select ******");
		//TODO put taskName uiniqId
		//TODO 保存到数据库 正在处理
		QuartzTaskUtil.startJob("exportTable"+taskName, taskName,map);
		return "任务提交完成";
	}
}
